<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/28
 * Time: 9:58
 */

namespace App\Wechat\Remind\Logics;

use App\Wechat\Remind\Models\Ticket as TicketModel;

class Ticket extends Base
{
	public function store($form_id)
	{
		$data = [
			'form_id' => $form_id,
			'openid' => $this->user->openid
		];
		return TicketModel::query()->create($data);
	}
}